<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'stu.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <h3>添加学生信息</h3>
    <s:form action="save.action" method="post" theme="simple">
    	<table>
    			<tr><td>学号：</td>
    			<td><s:textfield name="xs.xh"></s:textfield></td>
    			</tr><tr><td>姓名：</td>
    			<td><s:textfield name="xs.xm"></s:textfield></td>
    			</tr><tr><td>性别：：</td>
    			<td><s:radio name="xs.xb" list="#{1:'男',2:'女'}" value="1"></s:radio></td>
    			</tr><tr><td>专业：：</td>
    			<td><s:textfield name="xs.zy" label="专业"></s:textfield></td>
    			</tr><tr><td width="70">出生时间：</td>
    			<td><s:datetimepicker name="xs.cssj" id="cssj"
    						displayFormat="yyyy-MM-dd"></s:datetimepicker></td>
    			</tr><tr><td>备注：</td>
    			<td><s:textarea name="xs.bz" label="备注"></s:textarea></td>
    			</tr><tr><td><s:submit value="添加"></s:submit></td>
    			<td><s:reset value="重置"></s:reset></td></tr>
    	</table>
    </s:form>
  </body>
</html>
